<?php
class SettingsForm extends CFormModel {

    public $old_password;
    public $new_password;
    public $repeat_password;
    
    
    public function rules() {
        return array(
            array('old_password, new_password, repeat_password', 'required'),
        );
    }

    /**
     * @return array customized attribute labels (name=>label)
     */
    public function attributeLabels() {
        return array(
            'old_password' => 'Old Password',
            'new_password' => 'New Password',
            'repeat_password' => 'Repeat Password',            
        );
    }

}